<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
 Copyright (C) 2005, 2006 Joe Walnes.
 Copyright (C) 2006, 2007, 2008 XStream committers.
 All rights reserved.
 
 The software in this package is published under the terms of the BSD
 style license a copy of which has been included with this distribution in
 the LICENSE.txt file.
 
 Created on 29. January 2005 by Joe Walnes
 -->
    <head>
        <title>XStream - Change History</title>
        <link rel="stylesheet" type="text/css" href="style.css"/>
        
    
  

        <!-- Google analytics -->
        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
        </script>
        <script type="text/javascript">
          _uacct = "UA-110973-2";
          urchinTracker();
        </script>

    </head>
    <body>

        <div id="banner">
            <a href="index.html"><img id="logo" src="logo.gif" alt="XStream"/></a>
        </div>

        <div id="center" class="Content2Column">  <!-- Content3Column for index -->
            <div id="content">
                <h1 class="FirstChild">Change History</h1>

                

    <p>Changes are split into three categories:</p>

    <ul>
      <li><b>Major changes</b>: The major new features that all users should know about.</li>
      <li><b>Minor changes</b>: Any smaller changes, including bugfixes.</li>
      <li><b>API changes</b>: Any changes to the API that could impact existing users.</li>
    </ul>

	<p>Full details can be found in Jira's
	<a href="http://jira.codehaus.org/browse/XSTR?report=com.atlassian.jira.plugin.system.project:roadmap-panel">Roadmap</a>  and
	<a href="http://jira.codehaus.org/browse/XSTR?report=com.atlassian.jira.plugin.system.project:changelog-panel">Change Log</a>.
	</p>
 
    <h1 id="Upcoming">Upcoming</h1>

    <p>Not yet released</p>
    
    <p class="highlight">CGLIB support must be explicitly activated now. The decision has been made due to possible problems using an own
    classloader and because of ongoing complaints about occurring exceptions in the CGLIBEnhancedConverter at XStream initialization although
    they are caused by incompatible ASM versions on the user's classpath (<a href="http://jira.codehaus.org/browse/XSTR-469">XSTR-469</a>, <a href="http://jira.codehaus.org/browse/XSTR-513">XSTR-513</a> and <a href="http://jira.codehaus.org/browse/XSTR-518">XSTR-518</a>).</p>
    
    <p class="highlight">XStream uses some attributes on its own. Until now it was possible to use XStream.aliasAttribute to define a different
    name. This does still work but is deprecated for system attributes. Use the new call XStream.aliasSystemAttribute for such an alias.</p>

    <h2>Major changes</h2>

    <ul>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-515">XSTR-515</a>: CGLIB support is no longer activated automatically and has to be 
    	<a href="faq.html#Serialization_CGLIB">explicitly turned on</a>.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-448">XSTR-448</a>: Separated system attributes and user defined attributes for aliases.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-55">XSTR-55</a>: Ability to alias a package name.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-434">XSTR-434</a>: New JsonWriter instead of JsonHierarchicalStreamWriter with mode to strip root node of generated JSON (by Paul Hammant).</li>
    	<li>Support for Diablo JDK on FreeBSD (by Reto Bachmann-Gm&uuml;r).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-495">XSTR-495</a>: New PersistenceStrategy instead of StreamStrategy (based on the code and comments by Alexander Radzin).</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
    	<li>Support special Jettison functionality for JSON to detect collections or arrays with one element introduced with Jettison 1.0.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-493">XSTR-493</a>: Using attributes for fields with XML-unfriendly names results in NPE at deserialization.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-497">XSTR-497</a>: Unsafe operation with WeakHashMap can raise a NPE in Sun14ReflectionProvider.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-423">XSTR-423</a>: Support of CGLIB enhanced proxies with multiple callbacks if the proxy uses a factory (CGLIB default).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-536">XSTR-536</a>: XStream silently ignores unknown elements.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-503">XSTR-503</a>: Omitted properties in JavaBeans are requested at serialization (by Kevin Conaway).</li>
    	<li>Fix possible memory leak in ObjectIdMap for JVMs that provide real distinct identity hash codes (happened on amd64 system).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-480">XSTR-480</a>: Aliasing of array types.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-515">XSTR-515</a>: The SubjectConverter and DurationConverter are only registered if the converted class is part of the JDK, 
    	otherwise they must be registered now explicitly.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-504">XSTR-504</a>: XmlHeaderAwareReader fails with improper sized PushbackInputStream.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-489">XSTR-489</a>: @XStreamConverter supports now also SingleValueConverter implementations.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-481">XSTR-481</a>: @XStreamConverter and @XStreamAsAttribute can be used together (as a result of <a href="http://jira.codehaus.org/browse/XSTR-489">XSTR-489</a>).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-519">XSTR-519</a>: New annotation @XStreamInclude to force annotation detection of included types (by Seven Sparling).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-469">XSTR-469</a>: Support custom converters for enum types.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-502">XSTR-502</a>: ClassNotFoundException even if writeReplace returns proper object.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-529">XSTR-529</a>: NullPointerException for null elements in implicit lists.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-517">XSTR-517</a>: Miscellaneous performance improvements (by Tatu Saloranta).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-525">XSTR-525</a>: JsonHierarchicalStreamDriver writes invalid JSON in case of system attribute.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-535">XSTR-535</a>: Mode to allow plain values as result for JSON without root node.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-531">XSTR-531</a>: Possibility to omit system attributes.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-508">XSTR-508</a>: Fix marshalling error for nested serializable objects with own writeReplace/readResolve methods.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-507">XSTR-507</a>: Advanced ReferenceByIdMarshaller uses id of the current object if available.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-485">XSTR-485</a>: Check reference for valid object when deserializing.</li>
    	<li>Fix classloader problem, Xpp3 parser cannot be loaded within a web application.</li>
    	<li>Dependencies have been updated to latest versions of JDOM, Jettison, Joda Time, and Woodstox. Note for Maven
    	builds that the <em>groupId</em> of JDOM has changed.</li>
    	<li>Fix possible IndexOutOfBoundsException creating returning the message for a ConversionException.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-495">XSTR-495</a>: StreamStrategy cannot handle key with value <em>null</em>.</li>
    </ul>
    
    <h2>API changes</h2>

    <ul>
    	<li>Deprecated c.t.x.io.json.JsonHierarchicalStreamWriter in favour of c.t.x.io.json.JsonWriter.</li>
    	<li>c.t.x.mapper.EnumMapper no longer derives from the c.t.x.mapper.AttributeMapper as it has been before version 1.3. Therefore the new 
    	constructor has been deprecated in favour of the old one.</li>
    	<li>c.t.x.mapper.Mapper.getConverterFromAttribute(Class, String) has been deprecated in favour of
    	c.t.x.mapper.Mapper.getConverterFromAttribute(Class, String, Class) taking the type as third argument that should be handled by the
    	converter.</li>
    	<li>c.t.x.core.ReferenceByIdMarshaller.IdGenerator.next() has now the current object as argument.</li>
    	<li>New c.t.x.persistence.PersistenceStrategy and c.t.x.persistence.FilePersistenceStrategy.</li>
    	<li>Deprecated c.t.x.persistence.StreamStrategy and c.t.x.persistence.FileStreamStrategy.</li>
    </ul>

    <h1 id="1.3">1.3</h1>

    <p>Released 27 February 2008.</p>

    <h2>Major changes</h2>

    <ul>
    	<li>ReflectionConverter writes now the fields of the parent classes first.</li>
    	<li>Support for Converter definition at field level.</li>
    	<li>Refactoring of Annotation support, invent auto-detection mode.</li>
    	<li>Annotated converters are no longer detected automatically, all annotations are now handled in the same way.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-261">XSTR-261</a>: All c.t.x.io.HierarchicalStreamDriver implementations respect now the encoding of an XML header
    	if read from an InputStream.</li>
    	<li>DomDriver does no longer use explicitly UTF-8 by default, DomReader will therefore respect the encoding defined 
    	in the XML header or use native encoding</li> 
    	<li><a href="http://jira.codehaus.org/browse/XSTR-415">XSTR-415</a>: JavaBeanConverter uses now BeanIntrospection (by Hinse ter Schuur).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-424">XSTR-424</a>: DateConverter uses now by default SimpleDateFormat instances in non-lenient mode.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-386">XSTR-386</a>: SingleValueConverter that utilizes PropertyEditor implementations (by Jukka Lindstr&ouml;m).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-427">XSTR-427</a>: Converter for javax.xml.datatype.Duration (by John Kristian).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-305">XSTR-305</a>: Field alias inheritance (by David Blevins).</li>
    	<li>XStream failed to initialize in environments without AWT or SQL classes.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-420">XSTR-420</a>: XPath of references are not XmlFriendly encoded.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-473">XSTR-473</a>: String &quot;\0&quot; serialized as invalid XML, support compliant behaviour according XML version.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-431">XSTR-431</a>: Direct support of enhanced mode for SAP JVM (thanks to Norbert Kuck by SAP).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-437">XSTR-437</a>: Static cache in annotation processing causes failing OSGi bundles.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-279">XSTR-279</a>+<a href="http://jira.codehaus.org/browse/XSTR-335">XSTR-335</a>: Annotations are not inherited from parent class.</li>
    	<li>Fix StringConverter using a WeakHashMap with strong references in its value.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-403">XSTR-403</a>: Attributes are no longer written with JSONHierarchicalStreamDriver if current object is a collection.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-456">XSTR-456</a>: New LookAndFeelConverter handling LookAndFeel implementations with reflection.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-462">XSTR-462</a>: CachingMapper keeps direct class references.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-411">XSTR-411</a>: JsonHierarchicalStreamDriver does not escape characters according RFC 4627.</li>
    	<li>JsonHierarchicalStreamDriver writes wrong brackets around complex Java types with a single value.</li>
    	<li>JsonHierarchicalStreamDriver writes attribute names with a leading '@'.</li>
    	<li>JsonHierarchicalStreamDriver supports Map implementations.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
    	<li>Added converter for java.lang.StringBuilder instances.</li>
    	<li>Added converter for java.util.UUID instances.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-430">XSTR-430</a>: Fields written as attributes could not be omitted.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-407">XSTR-407</a>: Comparator might access uninitialized elements for TreeSet and TreeMap. A deserialized
    	Comparator is no longer called, the converters expect the elements now in a sorted order.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-404">XSTR-404</a>, @XStreamImplicit() for ArrayList&lt;ArrayList&lt;Type&gt;&gt; throws ClassCastException.</li>
    	<li>@XStreamContainedType() for ArrayList&lt;ArrayList&lt;Type&gt;&gt; throws ClassCastException.</li>
    	<li>XStreamer did not persist a FieldKeySorter instance.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-241">XSTR-241</a>: JavaBeanConverter now supports customized BeanProvider.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-280">XSTR-280</a>: JavaBeanConverter now supports aliasField and omitField (by Hinse ter Schuur).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-280">XSTR-280</a>: SerializationConverter now supports aliasField and omitField.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-429">XSTR-429</a>: XmlFriendlyReplacer support for SaxWriter and TraxSource (by Adrian Wilkens).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-421">XSTR-421</a>: Characters cannot be written as attribute.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-426">XSTR-426</a>: java.swt.KeyStroke not properly serialized because of a character undefined in unicode.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-352">XSTR-352</a>: Strings with arbitrary ISO control characters are not properly serialized.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-428">XSTR-428</a>: An attribute named like a transient field did abort deserialization of following fields.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-443">XSTR-443</a>: XStream.createObjectOutputStream does not use the given driver to create the HierarchicalStreamWriter.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-440">XSTR-440</a>: Implicit collections can be declared for fields that are not of Collection type.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-446">XSTR-446</a>: Handle all primitives and their boxed counterpart for JsonHierarchicalStreamDriver.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-447">XSTR-447</a>: Fix deserialization of Array class types in JDK 6 (see JDK bug 6500212).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-450">XSTR-450</a>: @XStreamAlias is ignored if attributes should be used for the field type.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-418">XSTR-418</a>: Inherited @XStreamAlias is ignored if field should be rendered as attribute.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-393">XSTR-393</a>: Annotation processing is not consistent.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-412">XSTR-412</a>: @XStreamImplicit throws NPE for untyped collections.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-463">XSTR-463</a>: Cannot provide own default Mapper chain.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-464">XSTR-464</a>: Cannot provide a ClassLoader that is used in all cases.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-394">XSTR-394</a>: Allow enums as attributes.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-413">XSTR-413</a>: Support @XStreamAsAttribute for enums.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-478">XSTR-478</a>: Cannot specify default implementation for polymorphic enum.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-419">XSTR-419</a>: Treat enums as immutable types.</li>
    	<li>Update annotation tutorial, explain limitations of auto-detection mode.</li>
    	<li>Added copyright notices to all files.</li>
    	<li>StaxWriter.flush did close Stax' XMLStreamWriter instead of flushing it.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-471">XSTR-471</a>: XStream POMs do no longer declare a repository at all.</li>
    	<li>Calendar object could not be rendered with JSONHierarchicalStreamDriver.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-476">XSTR-476</a>: Properties can be sorted by key.</li>
    	<li>XStream.createObjectInputStream and XStream.createObjectOutputStream
    	overloaded to support a binary InputStream or OutputStream.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-470">XSTR-470</a>: Allow transient fields to be optionally deserialized.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
    	<li>c.t.x.annotation.Annotations, c.t.x.annotation.AnnotationReflectionConverter and c.t.x.annotation.AnnotationProvider deprecated.
    	Functionality is integrated in new c.t.x.mapper.AnnotationMapper and accessible with new methods c.t.x.XStream.processAnnotations().</li>
    	<li>New auto-detection mode for annotations, that can be turned on with c.t.x.XStream.autodetectAnnotations()</li>
    	<li>c.t.x.annotation.@XStreamContainedType deprecated, the behaviour is now always active and the annotation therefore superfluous.</li>
    	<li>Due to <a href="http://jira.codehaus.org/browse/XSTR-421">XSTR-421</a> null characters are no longer written as tag with an attribute (&lt;char null=&quot;true&quot;/&gt;), 
    	but as empty tag.  The old representation is still supported at deserialization.</li>
    	<li>Characters that are not defined in unicode or ISO control characters (expect TAB and LF) are written as numerical entity now.</li>
    	<li>XPath references are now also XML-friendly encoded to match the path exactly.  Unencoded references will normally work anyway,
    	but in special cases the exact behaviour of XStream 1.2.x might be necessary.  See acceptance tests for XStream 1.2.x compatibility.</li>
    	<li>c.t.x.core.BaseException deprecated in favour of c.t.x.XStreamException as base exception for all exceptions XStream throws.</li>
    	<li>c.t.x.XStream.InitializerException deprecated in favour of c.t.x.InitializerException.</li>
    	<li>New methods get() and keys() in interface c.t.x.converter.ErrorWriter.</li>
    	<li>c.t.x.mapper.XmlFriendlyMapper deprecated, technology is replaced since version 1.2 by c.t.x.io.xml.XmlFriendlyReplacer as part of the
    	 different XmlWriter implementations.</li>
    	<li>c.t.x.mapper.Mapper.aliasForAttribute() and c.t.x.mapper.Mapper.attributeForAlias() deprecated, since it provided in reality the combined
    	functionality of c.t.x.mapper.Mapper.serializedMember()/realMember() and c.t.x.mapper.Mapper.getConverterFromItemType().</li>
    	<li>c.t.x.XStream(ReflectionProvider, Mapper, HierarchicalStreamDriver) deprecated, in favour of 
    	c.t.x.XStream(ReflectionProvider, HierarchicalStreamDriver, Mapper, ClassLoader).</li>
    	<li>New interface c.t.x.converter.ConverterRegistry to express explicit functionality managing the converters.</li>
    	<li>c.t.x.core.DefaultConverterLookup no longer uses a c.t.x.mapper.Mapper. Therefore the old constructor has been deprecated in favour
    	of a default constructor.</li>
    	<li>Overloaded methods of c.t.x.mapper.Mapper.getConverterFromItemType and c.t.x.mapper.Mapper.getConverterFromAttribute have been
    	deprecated. Only one version has been kept, the implementation can handle all cases now at once and therefore multiple calls to the mapper chain 
    	are avoided.</li>
    	<li>c.t.x.mapper.EnumMapper derives now from the c.t.x.mapper.AttributeMapper to support enums as attributes. Therefore the old constructor
    	has been deprecated in favour of one taking an additional c.t.x.converters.ConverterLookup that has to be passed to the new parent.</li>
    </ul>
    
    <p class="highlight">Note, to support a representation of null values in some way, it is absolutely necessary that each converter can handle a null
    value in its marshalling methods.  If you have implemented your own custom converters, try to handle such a case also to prevent incompatibilities
    in case XStream will provide such values with its next major version.</p>

    <h1 id="1.2.2">Version 1.2.2</h1>

    <p>Released 24 May 2007.</p>

    <p class="hightlight">Note, that next version of XStream will behave slightly different by default.  XStream emits
    all fields in declaration order like Java serialization.  But in contrast to Java it will omit the fields of parent
    classes last while Java serialization emits them first.  This makes it difficult to match a given XML schema that
    defined inherited types or leads sometimes to obscure initialization problems.  However, XStream itself will not be
    affected by the changed order of elements in the XML, any deserialization of current XML representations will work
    fine.  Anyway we will provide with XStream 1.3 a FieldKeySorter implementation that mimics the old behaviour.  In
    the meanwhile you can enforce the new field sorting by installing the NaturalFieldKeySorter.</p>

    <h2>Major changes</h2>

    <ul>
        <li><a href="http://jira.codehaus.org/browse/XSTR-391">XSTR-391</a>, Support for writing (and reading) JSON by the new JettisonMappedXmlDriver (by Dejan Bosanac).</li>
        <li>New FieldKeySorter interface allows a custom sort order of the XML elements.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-68">XSTR-68</a> and <a href="http://jira.codehaus.org/browse/XSTR-210">XSTR-210</a>, OmitField is now respected at deserialization to ignore removed fields.</li>
    </ul>

    <h2>Minor changes</h2>
    
    <ul>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-387">XSTR-387</a>, Fix aliasing of inherited fields.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-395">XSTR-395</a>, Fix StringConverter allocating PermGen space.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-368">XSTR-368</a>, @XStreamConverter converters should be cached inside the AnnotationReflectionConverter.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-392">XSTR-392</a>, @XStreamOmitField can be used to omit fields from the resulting XML (contributed by Chung-Onn Cheong).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-371">XSTR-371</a>, Fix JSONWriter that omits a closing bracket for for fields with null value.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-398">XSTR-398</a>, DomDriver ignores given XmlFriendlyReplacer.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-370">XSTR-370</a>, Buildable with JDK 6, fix FontConverter for JDK 6.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-382">XSTR-382</a>, Support hex and octal number values.</li>
    	<li>DateConverter did not respect change in TimeZone after first usage.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-375">XSTR-375</a>, Support for aliasing native types.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-243">XSTR-243</a> again, XML elements for transient fields are now ignored completely at deserialization.</li>
    	<li>Release unused object references to keep memory print low.</li>
    	<li>Support for AWT and SQL is now optional: XStream now works on embedded virtual machines lacking such APIs (by Nicolas Gros d'Aillon).</li>
    	<li>Support raw bytes read from the ObjectInputStream.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-373">XSTR-373</a>, Support for Hitachi JVM (tested by Yuji Yamano).</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-378">XSTR-378</a> and <a href="http://jira.codehaus.org/browse/XSTR-379">XSTR-379</a>, Fix TextAttributeConverter and EnumSetConverter failing on Apache Harmony.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-363">XSTR-363</a>, Support of native field order i.e. fields are processed in declaration order base classes first.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-320">XSTR-320</a>, Static field in child may hide non-static field in parent.</li>
    </ul>
    
    <h2>API changes</h2>

    <ul>
        <li><a href="http://jira.codehaus.org/browse/XSTR-365">XSTR-365</a>, Multiple implicit collections with annotations. Deprecated @XStreamImclicitCollection in favour of @XStreamImplicit
        declared at field level.</li>
    </ul>

    <h1 id="1.2.1">Version 1.2.1</h1>

    <p>Released 11 November 2006.</p>

    <h2>Major changes</h2>

    <ul>
    	<li>Introduced DocumentWriter interface and generalized functionality for all writer implementations
    	creating a DOM structure (DOM4J, DOM, JDom, Xom, Xpp3Dom).</li>
    	<li>Refactored build system to use Maven 2.  Ant still supported on XStream Core.</li>
        <li>Created separate XStream Benchmark module</li>
    </ul>

    <h2>Minor changes</h2>
    
    <ul>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-346">XSTR-346</a>, XStream.getClassMapper() does not return a ClassMapper for the current Mapper.</li>
    	<li>Fix problem with fields containing a double underscore.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-345">XSTR-345</a>, Dom4JWriter adds up attributes.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-336">XSTR-336</a>, XStream fails to reference an implicit element.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-337">XSTR-337</a>, Annotation cycle bug.</li>
    	<li>Fix packaging error for the resulting jar building with Maven2.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-339">XSTR-339</a>, NPE for attribute null values.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-338">XSTR-338</a>, NPE in JSON writer for converters using non-extended HierarchicalStreamWriter.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-357">XSTR-357</a>, Fix escaping of values in JSON writer.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-356">XSTR-356</a>, Fix unmarshaling error for fields containing proxies.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-349">XSTR-349</a>, Fix backward compatibility of Dom4jWriter.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-309">XSTR-309</a>, More versatile boolean conversion options (contributed by David Blevins).</li>
    	<li>Add XStream.getReflectionProvider() to retrieve ReflectionProvider in use.</li>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-358">XSTR-358</a>, @XStreamConverter annotation does not call converter constructor.</li>
        <li>Website generated using <a href="http://xsite.codehaus.org">XSite</a></li>
    </ul>

    <h2>API changes</h2>

    <ul>
        <li>Deprecate JDomWriter.getResult() in favour of DocumentWriter.getTopLevelNodes().</li>
        <li>Deprecate ThreadSafeSimpleDateFormat, since this is an internal helper and not part of XStream API.</li>
    </ul>

    <h1 id="1.2">Version 1.2</h1>

    <p>Released 18 August 2006.</p>

    <h2>Major changes</h2>

    <ul>
        <li><a href="http://jira.codehaus.org/browse/XSTR-269">XSTR-269</a>, Using attributes for fields (contributed by Paul Hammant and Ian Cartwright).</li>
        <li>Aliasing of arbitrary attributes.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-50">XSTR-50</a>, XStream can now serialize another XStream instance.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-227">XSTR-227</a>, XStream has now the XStreamer, that serializes an object together with its XStream instance.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-278">XSTR-278</a>, AnnotationConverter for fields (contributed by Guilherme Silveira).</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-256">XSTR-256</a>, PureJavaReflectionProvider supports now final fields starting with JDK 1.5</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-258">XSTR-258</a>, Any Collection type can now be declared implicit, the default implementation will be respected for unmarshaling.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-88">XSTR-88</a>, XStream can now write all references as absolute XPath expression.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-62">XSTR-62</a> and <a href="http://jira.codehaus.org/browse/XSTR-211">XSTR-211</a>, New SingeValueConverter allows light weight converters if the value can be represented by a unique string.</li>
        <li>Aliasing of classes of a specific type.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-239">XSTR-239</a>, Support for certain types of proxies generated with the CGLIB Enhancer.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-90">XSTR-90</a> and <a href="http://jira.codehaus.org/browse/XSTR-311">XSTR-311</a>, Support for BEA JRockit starting with R25.1.0 (contributed by Henrik St&aring;hl of BEA).</li>
    </ul>

    <h2>Technology preview</h2>

    <ul>
        <li>Experimental binary reader and writer.</li>
        <li>Experimental HierarichicalStreamCopier allows streams to be copied from one format to another without the overhead of serialization.</li>
        <li>Experimental JSON support allows streams to be copied from one format to another without the overhead of serialization (contributed by Paul Hammant).</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
        <li><a href="http://jira.codehaus.org/browse/XSTR-266">XSTR-266</a>, XStream fails to serialize elements of a unserializable class, that is a base class of a derived class</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-236">XSTR-236</a>, Priority constants for converter registration are now public</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-215">XSTR-215</a>, XStream writes now fields in declaration order even for JVMs reporting them in reverse order like IBM JDK.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-276">XSTR-276</a> and <a href="http://jira.codehaus.org/browse/XSTR-283">XSTR-283</a>, XStream does no longer attempt to create references to implicit element.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-244">XSTR-244</a>, Closing a Writer can now be done twice, but any write attempt will later on fail.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-243">XSTR-243</a>, Transient fields were unmarshalled from XML.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-250">XSTR-250</a>, Providing a mapper to the XStream constructor will no longer result in a NPE.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-281">XSTR-281</a>, After registering a new converter, the internal converter cache is now cleared.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-284">XSTR-284</a>, XStream checks the object returned by a converter for compatibility.</li>
        <li>XStream no longer fails serializing a Throwable without cause when no references shall be written.</li>
        <li>Converter for java.awt.font.TextAttribute.</li>
        <li>Converter for java.nio.charset.Charset.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-286">XSTR-286</a>, XStream detects impossible self serialization and throws now an appropriate ConversionException.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-291">XSTR-291</a>, XomDriver implementation added.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-299">XSTR-299</a>, Fix for implicit collections with items using the same name as the field name of the underlying collection.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-245">XSTR-245</a>, Broken XML with custom serialization in certain cases (patch contributed by Cyrille Le Clerc).</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-304">XSTR-304</a>, Bad handling of repairing namespace flag for StaxDriver (patch contributed by John Kristian).</li>
    </ul>

    <h2>API changes</h2>

    <ul>
        <li><a href="http://jira.codehaus.org/browse/XSTR-252">XSTR-252</a>, Refactored support for XML friendly character mapping.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-69">XSTR-69</a>, Refactored ReflectionConverter allows simpler subclassing.</li>
        <li>Unmarshalling context has now an overloaded version of the method convertAnother to provide the Converter directly.</li>
        <li>Deprecate ClassMapper for Mapper. All methods with a ClassMapper parameter have now a duplicate taking only a Mapper. The variant with the ClassMapper is deprecated.</li>
        <li>Deprecate c.t.x.alias.CannotResolveClassException for c.t.x.mapper.CannotResolveClassException.</li>
        <li>Deprecate NameMapper (was not used within XStream anymore anyway).</li>
        <li>Deprecate constructor of DefaultMapper taking an alternative name for the class attribute. Use the aliasAttribute method.</li>
        <li>Deprecate attributeForImplementationClass, attributeForClassDefiningField, attributeForReadResolveField, and attributeForEnumType in favour of the generalized aliasForAttribute in the Mapper interface.</li>
        <li>Removed all deprecated stuff from 1.1.x and 1.0.x</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-211">XSTR-211</a>, A lot of existing (basic) Converters have been refactored to use the new SingleValueConverter interface.</li>
        <li>Dom4JWriter uses now a DocumentFactory and a XMLWriter as constructor arguments.</li>
    </ul>

    <h1 id="1.1.3">Version 1.1.3</h1>

    <p>Released 13 January 2006.</p>

    <h2>Major changes</h2>

    <ul>
        <li>Added XStream.toXML(OutputStream) and XStream.fromXML(InputStream).</li>
        <li>Ability to prevent fields from being serialized by calling XStream.omitField() or by implementing Mapper.shouldSerializeMember().</li>
        <li>Added Converter for Enum, EnumMap and EnumSet</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-186">XSTR-186</a>, Added BeanConverter (contributed by Andrea Aime)</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-246">XSTR-246</a>, Added ISO8601SqlTimestampConverter (contributed by Cheong, Chung-Onn)</li>
        <li>Added ISO8601GregorianCaledarConverter</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-215">XSTR-215</a>, Fixed support for IBM JVM (contributed by Gabor Liptak)</li>
        <li>Enhanced mode support for Blackdown JDK</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-265">XSTR-265</a>, support for javax.security.auth.Subject</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-233">XSTR-233</a>, support for Integer[] arrays</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
        <li>Remove unnecessary PrintWriter wrapper in default writers (pointed out by Mathieu Champlon)</li>
        <li>Bugfix: EnumSet converter can now deal with empty sets (contributed by Baba Buehler)</li>
        <li>Update ISO8601DateConverter to use Joda 1.0</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-242">XSTR-242</a>, GregorianCalenderConverter saves now the timezone</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-247">XSTR-247</a>, ISO8601DateConverter now independent on timezone</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-263">XSTR-263</a>, Circular references with Externalizable objects fail</li>
    </ul>

    <h2>API changes</h2>

    <ul>
        <li>None.</li>
    </ul>

    <h1 id="1.1.2">Version 1.1.2</h1>

    <p>Released Apr 30, 2005. Most popular feature requests implemented. Java 5 Enum support. Serialization of JavaBeans using
    accessors. Aliasing of fields. StAX integration, with namespaces. Improved support on JDK 1.3 and IBM JDK. </p>

    <h2>Major changes</h2>

    <ul>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-186">XSTR-186</a>, Option to serialize JavaBeans using public accessors, rather than private fields (contributed by Andrea Aime).</li>
		<li>Ability to alias fields as well as classes, using XStream.addFieldAlias().</li>
		<li><a href="http://jira.codehaus.org/browse/XSTR-70">XSTR-70</a>, <a href="http://jira.codehaus.org/browse/XSTR-204">XSTR-204</a> Support for JDK 5 enums (contributed by Eric Snell and Bryan Coleman).</li>
		<li><a href="http://jira.codehaus.org/browse/XSTR-206">XSTR-206</a> Clean representation of JDK 5 EnumMap and EnumSet.</li>
		<li>XStream can now be built using JDK 1.3 (previously it required JDK 1.4 to compile, but 1.3 to run).</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-215">XSTR-215</a>, Enhanced mode is now supported on the IBM 1.4 JDK.</li>
        <li>The default HierarchicalStreamWriter implementation is supplied by the HierarichicalStreamDriver (as well as the reader).</li>
   	</ul>

	<h2>Minor changes</h2>

    <ul>
    	<li><a href="http://jira.codehaus.org/browse/XSTR-104">XSTR-104</a> HierarchicalStreamReader now exposes all available attributes to the Converter implementations (contributed by Trygve Laugstol).</li>
        <li>Bugfix: Externalizable deserialization supported for objects not at the root of tree.</li>
        <li>JavaMethodConverter handles non public methods/constructors (contributed by Kevin Ring).</li>
        <li>PropertiesConverter also serializes default properties, if present (contributed by Kevin Ring).</li>
        <li>Bugfix: In some cases, XppReader and StaxReader would get confused when calling hasMoreChildren() and getValue() on the same node.</li>
        <li><a href="http://jira.codehaus.org/browse/XSTR-217">XSTR-217</a>, ISO8601DateConverter now requires joda-time-1.2.1</li>
        <li>PrettyPrintWriter and CompactWriter may have their text/attribute escaping rules customized by overriding writeText() and writeAttributeValue().</li>
    </ul>

    <h2>API changes</h2>

    <ul>
        <li>HierarchicalStreamDriver implementations now require a createWriter() method. The simplest implementation is to return a new PrettyPrintWriter.</li>
        <li>Introduced ReaderWrapper/WriterWrapper classes to make it easier to wrap (decorate) HierarchicalStreamReader/Writer instances.</li>
    </ul>

    <h1 id="1.1.1">Version 1.1.1</h1>

    <p>Released Mar 7, 2005. Mostly bugfixes and minor feature enhancements.</p>

    <h2>Major changes</h2>

    <ul>
		<li>Converters can be registered with a priority, allowing more <i>generic</i> filters to handle classes that don't have more specific converters.</li>
		<li>Converters can now access underlying HierarchicalStreamReader/Writer implementations to make implementation specific calls.</li>
		<li>Improved support for classes using ObjectInputFields to follow the serialization specification.</li>
		<li><a href="http://jira.codehaus.org/browse/XSTR-179">XSTR-179</a> Support for ObjectInputStream.registerValidation(ObjectInputValidation).</li>
		<li><a href="http://jira.codehaus.org/browse/XSTR-178">XSTR-178</a> Serialized inner class now maintains reference to outer class.</li>
		<li><a href="http://jira.codehaus.org/browse/XSTR-199">XSTR-199</a> Default ClassLoader may be changed using XStream.setClassLoader().</li>
	</ul>

	<h2>Minor changes</h2>

    <ul>
        <li>Bugfix: Thread context classloader is loaded by the correct thread. (Thanks to Padraic Renaghan for pointing this out).</li>
        <li>Bugfix: Default implementations of aliased classes were not being deserialized by SerializableConverter.</li>
        <li>Bugfix: <a href="http://jira.codehaus.org/browse/XSTR-180">XSTR-180</a> Serializable objects support defaultReadObject() even when no default fields available.</li>
		<li>Bugfix: For serialized objects class hierarchy is serialized starting with superclass (as per Java Object Serialization).</li>
		<li>Bugfix: readObject() is now called for classes containing only transient fields.</li>
		<li>Bugfix: Order of fields are maintained when calling ObjectOutputStream.putFields().</li>
		<li>Bugfix: FontConverter extended to support FontUIResource which does some awkward native calls.</li>
		<li>Bugfix: Deserialization of very complicated graphs (such as Swing components) sometimes resulted in broken object references. Now fixed.</li>
		<li>Bugfix: <a href="http://jira.codehaus.org/browse/XSTR-188">XSTR-188</a> Classes that use readResolve()/writeReplace() can now return different types.</li>
		<li>Bugfix: <a href="http://jira.codehaus.org/browse/XSTR-185">XSTR-185</a>, <a href="http://jira.codehaus.org/browse/XSTR-195">XSTR-195</a> Support for loading of array classes for classes that have not yet been loaded. (Thanks to Henri Tremblay and Simon Daniel)</li>
		<li>Bugfix: <a href="http://jira.codehaus.org/browse/XSTR-190">XSTR-190</a> PrettyPrintWriter and CompactWriter escape characters in XML attributes.</li>
		<li>Bugfix: <a href="http://jira.codehaus.org/browse/XSTR-176">XSTR-176</a>, <a href="http://jira.codehaus.org/browse/XSTR-196">XSTR-196</a> The XStream ObjectInputStream and ObjectOutputStream implementations now propegate the flush() and close() events to the underlying streams.</li>
		<li>Bugfix: <a href="http://jira.codehaus.org/browse/XSTR-192">XSTR-192</a> Implicit collection mappings are now supported in inheritance hierarchies.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
    	<li>ClassMapper is now deprecated. Replaced with MapperWrapper.</li>
        <li>HierarchicalStreamWriter implementations must now implement close(), flush() and underlyingWriter().</li>
        <li>HierarchicalStreamReader implementations must now implement close() and underlyingReader().</li>
    </ul>

    <h1 id="1.1">Version 1.1</h1>

    <p>Released Jan 15, 2005. Focus on support for objects defining custom serialization using the standard
    <a href="http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/serialTOC.html">Java serialization</a> mechanism.</p>

    <h2>Major changes</h2>

    <ul>
        <li>Provides drop in replacement for ObjectInputStream and ObjectOutputStream, using XStream.createObjectInputStream() and
        XStream.createObjectOutputStream() and XStream.createObjectInputStream(). This provides support for streaming objects.</li>
        <li>Support for objects that specify their own serialization schemes by implementing readObject() and writeObject()
        (as in Java serialization spec). This includes support for ObjectInputStream.getFields() and ObjectOuputStream.putFields().</li>
        <li>Support for objects to serialize other objects to the stream by implementing writeReplace() (as in Java serialization spec).</li>
        <li>Support for any object that performs custom serialization by implementing java.io.Externalizable (as in Java serialization spec).</li>
        <li>Implicit collections can be specified for classes, allowing the element wrapping the collection to be skipped.</li>
        <li>New writer implementations to allow XStream to serialize directly to a SAX stream or TrAX pipeline.</li>
        <li>The MarshallingContext and UnmarshallingContext interfaces now extend DataHolder, allowing arbitrary data to be stored
        by the user whilst walking the object graph and passed around to Converters. DataHolders can also be passed into
        XStream from the outside.</li>
        <li>Includes new DomWriter implementation to serialize directly to a W3C DOM tree (to complement the existing DomReader).</li>
        <li>Better support for instantiating objects on non Sun 1.4+ JVMs, including non-public constructors, private static inner classes and
        ANY class that implements java.io.Serializable.</li>
        <li>DOM, DOM4J, JDOM, XOM, Electric-XML, SAX, STAX</li>
        <li>Specific ClassLoaders can be passed into XStream, to allow for greater compatibility in J2EE containers.</li>
        <li>Ability to change the default converter</li>
        <li>Added optional ISO8601DateConverter for full ISO8601 date format support. The converter is not registered by default
        as it requires the joda-time dependency (http://joda-time.sf.net). To use, ensure joda-time is in classpath and register explicitly.</li>
        <li>Enhanced mode is now supported on the Apple 1.4 JDK.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
        <li>PrettyPrintWriter only flushes stream when necessary - large performance improvement for serialization.</li>
        <li>Added XStream.fromXml(xml, root) convenience methods for deserializing into an existing root object.</li>
        <li>JDK 1.3 compatibility: Added mechanism for accessing nested exception.</li>
        <li>JDK 1.3 compatibility: GregorianCalendarConverter only calls Calendar.getTimeInMillis() the JDK supports it.</li>
        <li>Bugfix: All caches are now synchronized - there were some thread safety issues.</li>
        <li>Bugfix: Only <i>immutable</i> basic types will have references ignored in XML (for clarity).</li>
        <li>Bugfix: Class names can contain underscores.</li>
        <li>Bugfix: Support for '\0' char.</li>
        <li>Bugfix: PropertyConverter no longer attempts to serialize subclasses of Properties.</li>
        <li>Bugfix: JVM detection uses system properties, which is more accurate than searching the classpath.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
        <li>XStream.addDefaultCollection() has been deprecated. Use XStream.addImplicitCollection() instead.</li>
    </ul>

    <h1 id="1.0.2">Version 1.0.2</h1>

    <p>Released Aug 7, 2004. Focus on improving the converters bundled with XStream to support a wider range of types.</p>

    <h2>Major changes</h2>

    <ul>
        <li>XML elements are written in order they are defined in class, rather than alphabetical.</li>
        <li>Converters for java.io.File, java.sql.Timestamp, java.awt.Color, and dynamic proxies are now
        registered by default.</li>
        <li>EncodedByteArrayConverter is now registered by default and uses a single Base64 string to store the contents
        of a byte[]. This now works on all JVMs as it no longer relies on Sun specific classes. This converter will also
        unmarshal byte[] that have been serialized without it, for backwards compatability.</li>
        <li>New converters for java.sql.Time, java.sql.Date, java.util.Locale, java.util.Currency, java.util.Calendar
        and java.awt.Font.</li>
        <li>All caching is done in XStream instance instead of statics, allowing applications that use hot redeployment
        of classes to use XStream in a parent classloader.</li>
        <li>XStream will fail fast if a field value is defined more than once in XML when deserializing.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
        <li>The &lt;entry&gt; element used in Maps can now be specified by creating an alias for java.util.Map.Entry.</li>
        <li>Bugfix: Fields with characters that generate invalid XML (such as $ signs) are now escaped.</li>
        <li>Bugfix: Pre-instantiated objects can be unmarshalled through multiple levels.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
        <li>None.</li>
    </ul>

    <h1 id="1.0.1">Version 1.0.1</h1>

    <p>Released May 30, 2004. Misc features and bugfixes.</p>

    <h2>Major changes</h2>

    <ul>
        <li>Support for multidimensional arrays.</li>
        <li>Object with readResolve() method will be treated the same way native serialization treats them.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
        <li>New converters for Throwable and StackTraceElement that retain stack trace (JDK 1.4 only)</li>
        <li>Bugfix: System.identityHashCode() is not guaranteed to be unique. Ensure reference checking is used as well.</li>
        <li>Bugfix: Allows user classes to be defined in WEB-INF/classes in Servlet environments. Tries to use context classloader if available.</li>
        <li>Support for java.util.Currency (through readResolve()).</li>
        <li>Instances of Jakarta Commons Lang Enum are now reused (through readResolve()).</li>
        <li>Bugfix: JavaClassConverter handles primitive type classes (contributed by Matthew Sandoz).</li>
    </ul>

    <h2>API changes</h2>

    <ul>
        <li>Additional method: ConverterLookup.defaultConverter(). Custom implementations of this class should implement
        this new method.</li>
    </ul>

    <h1 id="1.0">Version 1.0</h1>

    <p>Released May 14, 2004. Focusses on finalizing the API for 1.0 release.</p>

    <h2>Major changes</h2>

    <ul>
        <li>Supports fields of same name, hidden by inheritance.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
        <li>JavaDoc for most important parts of API.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
      <li>The ReflectionConverter and ReflectionProviders have had an overhaul to support
      hidden fields. Most methods now take an extra argument to specify which class a field
      is declared in.</li>
    </ul>

    <h1 id="1.0RC1">Version 1.0 (release candidate 1)</h1>

    <p>Released May 9, 2004. Focusses on finalizing the API for 1.0 release.</p>

    <h2>Major changes</h2>

    <ul>
        <li>JDK 1.3 compatibility.</li>
        <li>Informative error messages.</li>
        <li>Defaults to using faster XPP based parser.</li>
        <li>Serializes final field under JDK 1.4.</li>
        <li>Fail fast when trying to serialize final field if not Sun 1.4 JRE.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
        <li>Misc performance improvements.</li>
        <li>Converters for TreeMap and TreeSet that store the Comparator.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
      <li>Default constructor for XStream class uses XppDriver instead of DomDriver.
      To use DomDriver, explicitly pass it in to the constructor.</li>
      <li>Exception is thrown if trying to serialize an object that contains a
      final field if not Sun 1.4 JRE.</li>
    </ul>

    <p><a href="versioning.html">About XStream version numbers...</a></p>

    <h1 id="0.6">Version 0.6</h1>

    <p>Released May 7, 2004. Focusses on providing full object graph support.</p>

    <h2>Major changes</h2>

    <ul>
        <li>None.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
        <li>Bugfix: Objects that had no children could not be derefenced properly (thanks to Brian Slesinsky and Nick Pomfret).</li>
        <li>Bugfix: DateConverter is now thread safe.</li>
        <li>Optimization: String instances are reused as much as possible.</li>
        <li>Converters for BigInteger and BigDecimal.</li>
        <li>IntConverter now recognises hexadecimal and octal notations (thanks to Konstantin Pribluda).</li>
    </ul>

    <h2>API changes</h2>

    <ul>
      <li>None.</li>
    </ul>

    <h1 id="0.6RC1">Version 0.6 (release candidate 1)</h1>

    <p>Released April 19, 2004. Focusses on providing full object graph support.</p>

    <h2>Major changes</h2>

    <ul>
      <li>Full support for object graphs, including duplicate references of same object and
      circular references.</li>
      <li>References can be identified using XPath (default), unique-IDs or disabled.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
      <li>Release includes Ant build file.</li>
      <li>Converters for non standard collections such as Collections.EMPTY_LIST, syncronizedList(), unmodifiableMap(), etc.</li>
      <li>Converter for nulls.</li>
      <li>Converter for dynamic proxies.</li>
      <li>Converter for java.net.URL.</li>
      <li>Converters for java.util.LinkedHashMap and java.util.LinkedHashSet.</li>
      <li>Converters for java.lang.reflect.Method and java.lang.reflect.Constructor.</li>
      <li>If duplicate reference support is disabled and a circular reference is encountered, an exception will be thrown.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
      <li>None.</li>
    </ul>

    <h1 id="0.5">Version 0.5</h1>

    <p>Released March 8, 2004. Focussed on performance.</p>

    <h2>Major changes</h2>

    <ul>
      <li>Massive performance improvements. Up to 3 times faster for serialization and 22
      times faster for deserialization!</li>
      <li>Non-DOM building pull parser based reader. Results in much smaller memory footprint,
      particularly when deserializing large object models.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
      <li>Misc performance improvements.</li>
      <li>Misc bugfixes.</li>
      <li>Alternate encodings can be used with DomDriver.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
      <li>Renamed XMLReader/Writer to HierarchicalStreamReader/Writer as XStream is not
      actually coupled to serializing just to XML.</li>
      <li>Cleaned up the public API.</li>
      <li>Moved internal XStream implementation classes to core package.</li>
      <li>Misc package/class renames to make more sense. Dumped lots of dead code.</li>
    </ul>

    <h1 id="0.4">Version 0.4</h1>

    <p>This version was never publicly released. All changes were made available in 0.5. Focussed on making it easier to create custom converters.</p>

    <h2>Major changes</h2>

    <ul>
      <li>Overhaul of interface for Converters. Makes Converters much cleaner to write.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
      <li>Added custom converters for java.io.File, java.util.Properties, java.util.Vector, java.util.Hashtable, java.util.BitSet
      byte[] (Base64 encoded), char[].</li>
      <li>Misc bugfixes.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
      <li>New interface to be implemented by custom converters.</li>
    </ul>

    <h1 id="0.3">Version 0.3</h1>

    <p>Released January 1, 2004.</p>

    <h2>Major changes</h2>

    <ul>
      <li>Added ElementMapper interface and default implementations to allow fine
      grained control over element name to class mapper operations.</li>
      <li>Added an XPP based reader and writer that uses a pull-parser to create a lightweight DOM tree.</li>
    </ul>

    <h2>Minor changes</h2>

    <ul>
      <li>Added XStream.fromXML(XMLReader xmlReader,Object root) method to
        allow the population of an object graph starting with a live object root.</li>
      <li>Added XMLReader.peek() method to allow access to the underlying hierarchical
        object being unmarshalled.</li>
    </ul>

    <h2>API changes</h2>

    <ul>
      <li>Aligned the the methods in XStream to use the specified ObjectFactory in the constructor
        instead of creating a SunReflectionObjectFactory.</li>
    </ul>

    <h1 id="older">Older versions</h1>

    <p>Changes in XStream prior to version 0.3 were not logged.</p>

  

                <br/>

            </div>
        </div>

        <div class="SidePanel" id="left">
                <div class="MenuGroup">
                    <h1>Software</h1>
                    <ul>
                                <li><a href="index.html">About XStream</a></li>
                                <li><a href="news.html">News</a></li>
                                <li class="currentLink">Change History</li>
                                <li><a href="versioning.html">About Versioning</a></li>
                    </ul>
                </div>
                <div class="MenuGroup">
                    <h1>Evaluating XStream</h1>
                    <ul>
                                <li><a href="tutorial.html">Two Minute Tutorial</a></li>
                                <li><a href="graphs.html">Object references</a></li>
                                <li><a href="manual-tweaking-output.html">Tweaking the Output</a></li>
                                <li><a href="license.html">License</a></li>
                                <li><a href="download.html">Download</a></li>
                                <li><a href="references.html">References</a></li>
                                <li><a href="http://www.ohloh.net/projects/3459">Statistics</a></li>
                    </ul>
                </div>
                <div class="MenuGroup">
                    <h1>Using XStream</h1>
                    <ul>
                                <li><a href="architecture.html">Architecture Overview</a></li>
                                <li><a href="converters.html">Converters</a></li>
                                <li><a href="faq.html">Frequently Asked Questions</a></li>
                                <li><a href="list-user.html">Users' Mailing List</a></li>
                                <li><a href="javadoc/index.html">JavaDoc Core</a></li>
                                <li><a href="benchmark-javadoc/index.html">JavaDoc Benchmark</a></li>
                                <li><a href="issues.html">Reporting Issues</a></li>
                    </ul>
                </div>
                <div class="MenuGroup">
                    <h1>Tutorials</h1>
                    <ul>
                                <li><a href="tutorial.html">Two Minute Tutorial</a></li>
                                <li><a href="alias-tutorial.html">Alias Tutorial</a></li>
                                <li><a href="annotations-tutorial.html">Annotations Tutorial</a></li>
                                <li><a href="converter-tutorial.html">Converter Tutorial</a></li>
                                <li><a href="objectstream.html">Object Streams Tutorial</a></li>
                                <li><a href="persistence-tutorial.html">Persistence API Tutorial</a></li>
                                <li><a href="json-tutorial.html">JSON Tutorial</a></li>
                    </ul>
                </div>
                <div class="MenuGroup">
                    <h1>Developing XStream</h1>
                    <ul>
                                <li><a href="how-to-contribute.html">How to Contribute</a></li>
                                <li><a href="list-dev.html">Developers' Mailing List</a></li>
                                <li><a href="team.html">Development Team</a></li>
                                <li><a href="repository.html">Source Repository</a></li>
                                <li><a href="http://bamboo.ci.codehaus.org/browse/XSTREAM">Continuous Integration</a></li>
                    </ul>
                </div>
        </div>

  </body>
</html>
